package com_3;

import jdk.swing.interop.SwingInterOpUtils;

import java.io.File;
import java.io.IOException;

public class Test {
    public static void main(String[] args) throws IOException {
        File f = new File("E:\\itheima\\java.text");
        System.out.println(f.createNewFile());
        File f2 = new File("E:\\itheima\\javWEB");
        System.out.println(f.mkdir());
        File f3 = new File("E:\\itheima\\javaEE");
        System.out.println(f3.mkdirs());
        File f4 = new File(f3,"E:\\itcast\\javaEE48期\\java.text");
        System.out.println(f4.mkdirs());
        File f5 = new File(f3,"E:itbaidu\\itcast\\java.text");
        System.out.println(f5.mkdirs());

    }
}
